﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Fjaspx.UI.Web.UCenter
{
    public partial class UCenter : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                try
                {
                    if (Fjaspx.Common.Session.Get("user_id") == null)
                    { Response.Redirect("login.aspx"); }
                }
                catch { Response.Redirect("login.aspx"); }
            }
        }
    }
}
